<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Template.Master" Inherits="IWS.SiteManager.Web.Views.LayoutView" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">

    <h1>Page Not Found</h1>
    
    Apparently what your looking for doesn't exist. <a href="/">You can try again from our home page.</a>
    
<%	var context = HttpContext.Current;
	if (context != null && (context.User.IsInRole("Editors") || context.User.IsInRole("Admins")))
	{%>
    <p><%=Html.ActionLink("Create a new page.", "EditContent", "Manage", new { section = ViewData["section"].ToString(), permalink = ViewData["permalink"].ToString() }, null)%></p>
<%	} %>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
